package com.runtime.hongyunuser.service;

import com.runtime.hongyunuser.bean.Userfavorites;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface UserFavoriteService {
    Userfavorites addFavorites(Long userId, Long productId);
    boolean isCollected(Long userId, Long productId);
    boolean toggleCollect(Long userId, Long productId);
}
